<%@ page language="java" pageEncoding="ISO-8859-1" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
    if (request.getSession().getAttribute("user") == null) {
        response.sendRedirect("");
    }

%>
